package com.xxd.dfs.namenode;


/**
 * @author: XiaoDong.Xie
 * @create: 2020-08-14 10:27
 * @description:
 */
public class EditLogFactory {

    public static String mkdir(String path) {
        return "{'OP':'MKDIR','PATH':'" + path + "'}" + "\n";
    }

    public static String create(String path) {
        return "{'OP':'CREATE','PATH':'" + path + "'}" + "\n";
    }
}
